package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "h_supervision_log")
public class SupervisionLog implements Serializable {
    private static final long serialVersionUID = 5925926781677736851L;

    @Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id_bigint", columnDefinition = "bigint")
    private Long id;
    @Column(name = "send_trade_num_nvarchar", columnDefinition = "varchar(255)")
    private String sendTradeNum;
    @Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
	private Date createTime;
    @Column(name = "request_nvarchar", columnDefinition = "text(0)")
    private String request;
    @Column(name = "response_nvarchar", columnDefinition = "text(0)")
    private String response;
    @Column(name = "is_success_bit", columnDefinition = "bit(1)")
    private Boolean isSuccess;
    
}
